package cn.backpackerxl.easyJDBC.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * @Author: backpackerxl
 * CreateTime: 2022/5/19
 * FileName: BasicProperty
 **/
public final class BasicProperty {
    private BasicProperty() {
    }

    public static Properties get(String fileName) throws IOException {
        InputStream resourceAsStream = CreateTable.class.getClassLoader().getResourceAsStream(fileName);
        Properties properties = new Properties();
        properties.load(resourceAsStream);
        return properties;
    }
}
